package com.hua.Model;

public class PermissInfo {
	int userID; // 用户id
	int login; // 允许登录
	int write; // 允许修改个人信息
	int ai; // 允许使用AI
	int rename; //允许对文件重命名
	int upload; //允许上传文件
	int download; // 允许下载
	int share; //允许分享
	int delete; //允许删除
	
	public PermissInfo() {
		super();
	}

	public PermissInfo(int userID, int login, int write,int delete, int ai, int rename, int upload, int download, int share) {
		super();
		this.userID = userID;
		this.login = login;
		this.write = write;
		this.ai = ai;
		this.rename = rename;
		this.upload = upload;
		this.download = download;
		this.share = share;
		this.delete = delete;
	}
	
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public int getLogin() {
		return login;
	}
	public void setLogin(int login) {
		this.login = login;
	}
	public int getWrite() {
		return write;
	}
	public void setWrite(int write) {
		this.write = write;
	}
	public int getAi() {
		return ai;
	}
	public void setAi(int ai) {
		this.ai = ai;
	}
	public int getRename() {
		return rename;
	}
	public void setRename(int rename) {
		this.rename = rename;
	}
	public int getUpload() {
		return upload;
	}
	public void setUpload(int upload) {
		this.upload = upload;
	}
	public int getDownload() {
		return download;
	}
	public void setDownload(int download) {
		this.download = download;
	}
	public int getShare() {
		return share;
	}
	public void setShare(int share) {
		this.share = share;
	}
	public int getDelete() {
		return delete;
	}
	public void setDelete(int delete) {
		this.delete = delete;
	}

	@Override
	public String toString() {
		return "PermissInfo [userID=" + userID + ", login=" + login + ", write=" + write + ", ai=" + ai + ", rename="
				+ rename + ", upload=" + upload + ", download=" + download + ", share=" + share + ", delete=" + delete
				+ "]";
	}
	
	
}
